package com.cxx.purchasecharge.dal;

import java.util.List;

import com.cxx.purchasecharge.core.model.AccountingModeCode;
import com.cxx.purchasecharge.core.model.persistence.AccountingType;
import com.cxx.purchasecharge.dal.common.MyGenericDao;

public interface AccountingTypeDao extends MyGenericDao<AccountingType, Long>
{
    public AccountingType findByName (String name);
    
    public List<AccountingType> findByMode (AccountingModeCode mode);
    
    public List<AccountingType> getAll ();

}
